package top.infopub.mgr.mkt.dao;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import top.infopub.model.mkt.BidReview;
import top.infopub.model.mkt.CreditDetail;

import java.util.List;
import java.util.Map;

/**
 * @Author Warking
 * @Date 2021/5/5 11:04
 * @Version 1.0
 */
@Repository
public interface CreditDetailsDtoDao {
    List<Map<String,Object>> queryDetail(@Param("proCode") String proCode,@Param("bidType") String bidType);

    List<CreditDetail> creditDetail(@Param("proCode") String proCode);

    String getApplicant(@Param("id")String id);

    void updateReview(BidReview bidReview);

    int deleteCreditDetail(@Param("id")String sguid);

    void updateSingle(CreditDetail creditDetail);

    void insertSingle(CreditDetail creditDetail);

    String isFlag(@Param("sguid")String sguid);

    BidReview selectByPrimaryKey(String id);
}
